package com.mqb.n2;

import com.mqb.n2.util.FileReader;
import lombok.extern.slf4j.Slf4j;

/**
 * 异步不等待
 */
@Slf4j(topic = "c.Async")
public class Async {
    public final static String PATH = "C:\\Users\\mqb\\Downloads\\apache-tomcat-9.0.43.tar.gz";

    public static void main(String[] args) {
        new Thread(()-> FileReader.read(PATH)).start();
        log.debug("do other things");
    }
}
